package csnd.xinghe.neo4j.server.entity;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class NodeEntity {
    @JSONField(name = "label")
    private String label;

    @JSONField(name = "nodeId")
    private String id;

    @JSONField(name = "name")
    private String name;

    @JSONField(name = "level")
    private Integer level;

    //实体的形状：默认circle
    @JSONField(name = "type")
    private String type;

    @JSONField(name = "isCenter")
    private Boolean isCenter;

    @JSONField(name = "properties")
    private Map<String, Object> properties;
}
